package com.woniuxy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 所有住院期间的药品
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class InpatientDrug {
    private int inpatientDrugId;
    private int drugId;
    private int inpatientId;
    private String inpatientDrugName;
    private int inpatientDrugNum;
    private BigDecimal inpatientDrugPrice;
    private String inpatientDrugDescription;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date inpatientDrugTime;
}
